var t = require;
var e = module;
var o = exports;
Object.defineProperty(o, "__esModule", {
    value: !0
});
var i = t("GlobalUserData"),
n = t("LoadingScene"),
a = t("ChannelTool"),
r = t("Util"),
s = t("WXSDK"),
l = t("WXAdUnitManager"),
c = function() {
    function t() {}
    return t.getIntance = function() {
        return null == this._instance && (this._instance = new t),
        this._instance
    },
    t.prototype.initAdUnit = function() {
        switch (a.ChannelTool.curentChannel) {
            case a.ChannelTool.ChannelEnum.WE_CHAT:
                if (r.Util.is_wx()) {
                switch (i.default.wx_channel) {
                    case n.WXChannel.ZUZHUANG:
                        this.WXAdUnit = l.default.getIntance().ChariotAdUnit;
                    break;
                    case n.WXChannel.MIAOXING:
                        this.WXAdUnit = l.default.getIntance().MajiaMiaoxingAdUnit;
                    break;
                    case n.WXChannel.CHAOJI:
                        this.WXAdUnit = l.default.getIntance().majiaChaojiZCAdUnit;
                    break;
                    case n.WXChannel.BIAOCHE:
                        this.WXAdUnit = l.default.getIntance().RacingAdUnit;
                }
                s.default.getIntance().initAdUnit()
            }
            break;
            case a.ChannelTool.ChannelEnum.OPPO:
            case a.ChannelTool.ChannelEnum.VIVO:
            case a.ChannelTool.ChannelEnum.BYTE:
        }
    },
    t._instance = null,
    t
} ();
o.default = c